//
//  Contact.h
//  04-集合（二）
//
//  Created by dllo on 16/7/7.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Contact : NSObject


//{
//    NSString *_name;
//    NSString *_phoneNumber;
//    NSString *_sex;
//    NSString *_address;
//    NSString *_groupName;
//    NSUInteger _age;
//}
@property(nonatomic,retain)NSString *name;
@property(nonatomic,retain)NSString *phoneNumber;
@property(nonatomic,retain)NSString *sex;
@property(nonatomic,retain)NSString *address;
@property(nonatomic,retain)NSString *groupName;
@property(nonatomic,assign)NSUInteger age;

- (instancetype)initWithName:(NSString *)name
                 phoneNumber:(NSString *)phoneNumber;


- (NSString *)description;//把其他类型转成字符串

- (void)showContact;















@end
